package lab02.test25;

import java.util.Scanner;

public class Test {
    public static void main(String[] args) {



        Scanner sc = new Scanner(System.in);
        System.out.println("输入两个相除的数：");
        int  a = sc.nextInt();
        int  b = sc.nextInt();
        try {
            System.out.println((double) a/(double) b);
        }catch (ArithmeticException e){
            System.out.println("除数不能为零！！");
        }

    }
}
